export default {
  namespaced: true,
  state: {
    // 根据地区和名称查询幼儿园列表用
    area: {
      // province: '山东省',
      // city: '青岛市',
      // district: '崂山区'
      province: '',
      city: '',
      district: ''
    },
    // 幼儿园
    kindergarten: {
      name: '',
      id: null
    },
    // 班级
    classObj: {
      id: null,
      name: ''
    },
    //
    children: {
      id: null,
      name: '',
      sex: null
    }
  },
  getters: {
    //
  },
  actions: {},
  mutations: {
    //
    SET_VALUE(state, { key, val }) {
      state[key] = Object.assign(state[key], val)
    }
  }
}
